<?php
/* @var $this SiteController */
/* @var $model LoginForm */
/* @var $form CActiveForm  */

$this->pageTitle=Yii::app()->name . ' - Login';
$this->breadcrumbs=array(
	'Login',
);
?>
<div style="margin-left: 60px">
<h1>Login</h1>

<p>Por favor ingrese su nombre de usuario y contrase&ntildea</p>

<div class="form" >
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'login-form',
	'enableClientValidation'=>true,
	'clientOptions'=>array(
		'validateOnSubmit'=>true,
	),
)); ?>

	<p class="note"  >Los campos con <span class="required">*</span> son requeridos.</p>

	<div class="">
	<p	<?php echo $form->labelEx($model,'nombre de usuario'). '<span class="required">*</span>' ; ?></p>
		<?php echo $form->textField($model,'username'); ?>
		<?php echo $form->error($model,'username'); ?>
	</div>

	<div class=""><p
		<?php echo $form->labelEx($model,'contrase&ntildea').'<span class="required">*</span>'; ?></p>
		<?php echo $form->passwordField($model,'password'); ?>
		<?php echo $form->error($model,'password'); ?>
		
	</div>

	<div class="">
		<?php echo $form->checkBox($model,'rememberMe'); ?>
		<?php echo $form->label($model,'recuerdame la pr&oacutexima vez'); ?>
		<?php echo $form->error($model,'rememberMe'); ?>
	</div>

	<div class="" >
		<?php echo CHtml::submitButton('Login'); ?>
	</div>

<?php $this->endWidget(); ?>
</div><!-- form -->
</div>
